from turtle import *

tracer(0)

pendown()

ht()

def back():
    pencolor("black")
    fillcolor("red")
    up()
    goto(0,-250)
    pd()
    pensize(10)
    setheading(0)
    begin_fill()
    circle(250)
    end_fill()
    up()
    goto(0,-160)
    pd()
    pensize(10)
    setheading(0)
    begin_fill()
    circle(160)
    end_fill()

k=0
while True:
    k+=1
    if k>=360:
        k=0
    back()


    pensize(1)
    fillcolor("black")

    for i in range(0,360,120):
        up()
        home()
        setheading(90+i+k)
        forward(200)
        down()
        left(60)
        begin_fill()
        circle(45,180)
        circle(30,180)
        circle(-15,180)
        end_fill()
    update()



done()